package ui.activity.mine.module;


import dagger.Module;
import dagger.Provides;
import ui.activity.mine.biz.PresentRecordBiz;
import ui.activity.mine.contract.PresentRecordContract;

/**
 * Created by chenjian on 19/2/26
 */
@Module
public class PresentRecordModule {
    private PresentRecordContract.View view;

    public PresentRecordModule(PresentRecordContract.View view) {
        this.view = view;
    }

    @Provides
    public PresentRecordContract.View provideView() {
        return view;
    }

    @Provides
    public PresentRecordBiz provideBiz() {
        return new PresentRecordBiz();
    }
}